package com.pattern.design.designpattern.Diedaiqi;

/**
 * author:harisucici on 2018/10/10 17:24
 * email:harisucici@gmail.com
 * name:
 * todo:
 */
public class Employee {
    private String name;
    private int age;
    private String sex;

    /**
     * Gets name.
     *
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * Sets name.
     *
     * @param name the name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Gets age.
     *
     * @return the age
     */
    public int getAge() {
        return age;
    }

    /**
     * Sets age.
     *
     * @param age the age
     */
    public void setAge(int age) {
        this.age = age;
    }

    /**
     * Gets sex.
     *
     * @return the sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * Sets sex.
     *
     * @param sex the sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * Gets position.
     *
     * @return the position
     */
    public String getPosition() {
        return position;
    }

    /**
     * Sets position.
     *
     * @param position the position
     */
    public void setPosition(String position) {
        this.position = position;
    }

    private String position;

    /**
     * Instantiates a new Employee.
     *
     * @param name     the name
     * @param age      the age
     * @param sex      the sex
     * @param position the position
     */
    public Employee(String name,int age,String sex,String position){
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.position = position;
    }
}
